<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <title>招生章程模板管理列表</title>
    <link rel="stylesheet" type="text/css" href="${s.base}/lib/layui/css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="${s.base}/css/base/index.css"/>
    <link rel="stylesheet" type="text/css" href="${s.base}/css/base/theme/theme.css"/>
</head>
<body>
<div class="wrap-container clearfix">
    <div class="column-content-detail">
        <form class="layui-form" method="post" action="/enrollment/enrollmentrule/export">
            <input type="hidden" name="applyId" value="${applyId}"/>
            <div class="search-cont clearfix" id="tool">
            </div>
        </form>
        <div class="layui-form" id="table-list">
            <table id="entityList" lay-filter="entityList" class="cy-list-table"></table>
        </div>
    </div>
</div>
<!--操作-->
<!--操作-->
<script type="text/html" id="entityBar">
</script>
<script src="${s.base}/lib/layui/layui.js" type="text/javascript" charset="utf-8"></script>
<script src="${s.base}/js/common.js" type="text/javascript" charset="utf-8"></script>
<script>
    var tableIns = null;
    var applyId='${applyId}';
    layui.use(['jquery', 'table', 'page', 'dialog', 'laydate'], function () {
        var $ = layui.jquery,
            page = layui.page,
            table = layui.table,
            laydate = layui.laydate,
            dialog = layui.dialog;
        //获取分页数据
        page.initDict('base_status', function (dictData) {
            var url = "/enrollment/enrollmentrule/page?applyId="+applyId;
            var cols = [
                {type: 'checkbox', fixed: 'left'},
                {field: 'name', title: '标题', align: 'center'},
                {field: 'useNum', title: '使用频次', align: 'center'}
            ];
            tableIns = page.initDate(cols, url);
        });
    });

</script>
</body>
</html>